<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
	request.setCharacterEncoding("utf-8");
	String username = request.getParameter("username");
	String password = request.getParameter("pwd");
	if(username.equals("张三") && password.equals("123")){
		out.println("登录成功!");
	}else{
		out.println("用户名或者密码错误,登录失败!");
	}
	%>
</body>
</html>